package com.study.aop.theory.myaop;

/**
 * @author: chenhs
 * @date: Created in 15:10 2019/12/8
 **/
public class Pointcut {

    /**类名匹配模式（正则表达式）*/
    private String classPattern;
    /**方法名匹配模式（正则表达式）*/
    private String methodPattern;

    public Pointcut(String classPattern, String methodPattern) {
        this.classPattern = classPattern;
        this.methodPattern = methodPattern;
    }

    public String getClassPattern() {
        return classPattern;
    }

    public void setClassPattern(String classPattern) {
        this.classPattern = classPattern;
    }

    public String getMethodPattern() {
        return methodPattern;
    }

    public void setMethodPattern(String methodPattern) {
        this.methodPattern = methodPattern;
    }
}
